<%@page import="org.apache.shiro.SecurityUtils"%>
<%@page import="org.apache.shiro.subject.Subject"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
   
    <div align="center">
        <h3>欢迎。。。。。</h3>
        <form action="${ctx}/login" method="post">
            username: <input type="text" name="username"><br>
            password: <input type="password" name="password"><br> 
            <INPUT id = "rm" type="checkbox" name="remember" value="1" ><LABEL for=rm>记住我</LABEL>
            <input type="submit" value="登录">
        </form>
        <P>${message}</P>
    </div>
</body>
</html>